From c276c7193f1f90d49157d1f7daad7484ce6e5016 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 21 Aug 1994 18:09:30 +0000 Subject: [PATCH] (LD_SWITCH_MACHINE): Supply m/ibmrs6000.inp as input. --- src/m/ibmrs6000.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/m/ibmrs6000.h b/src/m/ibmrs6000.h index d882d01f7a1..17a2cf41693 100644 --- a/src/m/ibmrs6000.h +++ b/src/m/ibmrs6000.h @@ -141,10 +141,15 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define ORDINARY_LINK /* sfreed@unm.edu says add -bI:/usr/lpp/X11/bin/smt.exp for AIX 3.2.4. */ +/* marc@sti.com (Marc Pawliger) says ibmrs6000.inp is needed to avoid + linker error for X11R6 library, which references pthread library + which most machines don't have. We use the name .inp instead of .imp + because .inp is a better convention to use in make-dist for naming + random input files. */ #ifdef HAVE_AIX_SMT_EXP -#define LD_SWITCH_MACHINE -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp,-bI:/usr/lpp/X11/bin/smt.exp +#define LD_SWITCH_MACHINE -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp,-bI:m/ibmrs6000.inp,-bI:/usr/lpp/X11/bin/smt.exp #else -#define LD_SWITCH_MACHINE -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp +#define LD_SWITCH_MACHINE -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp,-bI:m/ibmrs6000.inp #endif /* AIX supposedly doesn't use this interface, but on thr RS/6000 -- 2.30.2